
extern "C" {
    fn add_twice(a: i32, b:i32) -> i32;
}

fn main() {
    let res = unsafe { add_twice(1, 2) };
    println!("add_twice(1,2)={}", res);
}
